﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int my_strlen(char* a)
{
	if (*a != '\0')
	{
		return 1 + my_strlen(a + 1);
	}
	else
	{
		return 0;
	}
}

int main()
{
	char arr[] = "abc";
	int len = my_strlen(arr);
	printf("%d\n", len);
	return 0;
}